package com.ctu.gzero.edit
{
	/**
	 * Should be used for selection and edit
	 * TODO: poinFormat will be used for caret selection applied with format
	 */
	 
	import com.ctu.gzero.elements.DOMElement;
	
	public class SelectionState extends TextRange
	{
		private var _pointFormat:*;
		
		public function SelectionState(dom:DOMElement, anchorPosition:int, activePosition:int, endFlag:Boolean = false, pointFormat:* = null)
		{
			super(dom, anchorPosition, activePosition, endFlag);
			_pointFormat = pointFormat;
		}
		
		public function get pointFormat():*
		{
			return _pointFormat;
		}
		
		public function set pointFormat(val:*):void
		{
			_pointFormat = val;
		}
		
	}
}